package com.nc.delivery_project.shared.proxy;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.nc.delivery_project.server.domain.User;
import com.nc.delivery_project.shared.locator.UserLocator;

/**
 * Created by miroshnik on 23.12.2014.
 */
@ProxyFor(value = User.class, locator = UserLocator.class)
public interface UserProxy extends EntityProxy {

    int getId();

    String getEmail();
    void setEmail(String email);

    String getPassword();
    void setPassword(String password);

    RoleProxy getRole();
    void setRole(RoleProxy role);
}
